package com.qingcloud.adminbackend.entity.message;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * 事件管理表
 */
@Data
@Accessors(chain = true)
public class SysMessageEventListVo {
    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "事件名称")
    private String eventName;

    @ApiModelProperty(value = "事件类型Id")
    private Integer typeId;

    @ApiModelProperty(value = "事件编号")
    private String eventCode;

    @ApiModelProperty(value = "事件类型名称")
    private String typeName;

    @ApiModelProperty(value = "事件来源：（1：硬件设备；2应用系统）")
    private Integer eventOrigin;

    @ApiModelProperty(value = "事件来源名称")
    private String eventOriginName;

    @ApiModelProperty(value = "通知方式")
    private String notifys;

    @ApiModelProperty(value = "触发类型：1直接映射；2定时触发；3：事件监听")
    private Integer triggerType;

    @ApiModelProperty(value = "触发类型：1直接映射；2定时触发；3：事件监听")
    private String triggerTypeName;

    @ApiModelProperty(value = "是否开启（0:关闭；1：开启）")
    private Integer status;

    @ApiModelProperty(value = "通知方式id")
    private String notifyIds;

    @ApiModelProperty(value = "通知方式id集合")
    private List<String> notifyListIds;

    @ApiModelProperty(value = "事件的通知方式集合")
    private Map<String,List<SysMessageNotify>> sysMessageNotifies;
}
